package com.srq.service;

import com.srq.pojo.Member;
import com.srq.pojo.Product;

import java.util.List;

public interface IProductService {
    Product getProductNyProductNameAndproductNum(Product product);
    List<Product> getAllProducts(String productName, Integer pageNum, Integer pageSize);
    Product getProductById( Integer id);
    int addProduct(Product product);
    int editProduct(Product product);
    int delById( Integer id);
    int delAll(List<Integer> ids);
    Product getProductByProductName(String productName);
}
